#include"mprpccontroller.h"
MprpcController::MprpcController()
{
    m_isfailed = false;
    m_errText = "";
}


void MprpcController::Reset()
{
    m_isfailed = false;
    m_errText = "";
}
bool MprpcController::Failed() const
{
    return m_isfailed;
}
std::string MprpcController::ErrorText() const
{
    return m_errText;
}

void MprpcController::SetFailed(const std::string &reason)
{
    m_isfailed = true;
    m_errText = reason;
}

void MprpcController::StartCancel()
{
}
bool MprpcController::IsCanceled() const
{
}
void MprpcController::NotifyOnCancel(google::protobuf::Closure *callback)
{
}

MprpcController::~MprpcController()
{

}
